package org.example.springcloud.bean;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@AllArgsConstructor
public class PageResult<T> {

    //总记录数
    private long total;

    //当前页数据
    private List<T> list;
}
